export default Vue => {
  const context = require.context("./", false, /.*\.vue$/);
  context.keys().map(key => {
    const component = context(key).default;
    Vue.component(component.name, component);
  });
};
